function foo(param:{id:number;}){}; foo(<{id:number;}>({}));